import { UserInterface } from './user.interface'

export interface MessageInterface {
  context: string
  createdTime: string
  id?: string
  type: string
  updatedTime?: string
}

export type MessageUser = {
  user: UserInterface
  isWei: number
  message: MessageInterface
}

export interface UserMessage {
  friend: UserInterface
  messages: Message[]
}

export interface Message {
  context: string
  type: string
  createdTime: string
  sendUserId: string
}
